#ifndef NODE_H
#define NODE_H

#include <vector>

class ANode {
public:
	ANode();
	~ANode();

	void addAdjacent(ANode* node);

	void setParent(ANode* parent);
	void setCost(float cost);
	void setRow(int row);
	void setColumn(int column);

	int getRow() const;
	int getColumn() const;
	std::vector<ANode*> getAdjacents();
	float getCost() const;
	ANode* getParent();

private:
	ANode* m_parent;
	std::vector<ANode*> m_adjacents;
	float m_cost;
	float m_acumCost;
	int m_row;
	int m_column;
};

#endif
